package com.situ.edu.service;

import com.situ.edu.pojo.entity.Course;
import com.situ.edu.pojo.query.XiQuery;
import com.situ.edu.pojo.vo.CourseCountVO;
import com.situ.edu.util.PageInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IXiCourseService {
    PageInfo selectByCourse(XiQuery xiQuery);

    void deleteById(int id);

    void deleteAll(String[] ids);


    void add(Course course);

    Course selectById(int id);


    void update(Course course);

    List<CourseCountVO> selectCourseCount();

    void exportExcel(HttpServletResponse resp);

    void importExcel(HttpServletRequest req);

    List<Course> selectAll();
}
